<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title> <?php echo CHtml::encode($this->pageTitle); ?> </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
    
     <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/frontstyle.css" media="screen, projection" />
     
  
  
  <!-- HTML5 shim for IE backwards compatibility -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
     
 <!--    <script src="http://code.jquery.com/jquery-latest.js"></script>    -->
   

</head>

<!--  ************************************8   -->
<body>


		<div class="header"> <?php echo CHtml::encode(Yii::app()->name); ?> </div>
	
    	<div class="navi">
         <?php            
          $this->widget('zii.widgets.CMenu',array(          
                                            'items'=> Linkmenu::menulink('top_menu'), 
                                            
                                  ));     //top_menu это menualias в таблице allmenu из БД

        ?>
        </div>
		
        
        
               
      <div class="wrapper">   
	       	<div class="content">   
 	               <?php echo $content; ?>
       	    </div>
		
    	
		
    <div class="footer">footer</div>

	</div>  <!-- end wrapper -->
	
  
</body>
 
</html>
